package com.zshan.clinic.database.dao;

import com.zshan.clinic.database.model.ClinicRole;
import com.zshan.clinic.database.model.ClinicRoleExample;
import com.zshan.clinic.mybatis.SuperMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ClinicRoleMapper extends SuperMapper {
    long countByExample(ClinicRoleExample example);

    int deleteByExample(ClinicRoleExample example);

    int deleteByPrimaryKey(Long roleId);

    int insert(ClinicRole row);

    int insertSelective(ClinicRole row);

    List<ClinicRole> selectByExample(ClinicRoleExample example);

    ClinicRole selectByPrimaryKey(Long roleId);

    int updateByExampleSelective(@Param("row") ClinicRole row, @Param("example") ClinicRoleExample example);

    int updateByExample(@Param("row") ClinicRole row, @Param("example") ClinicRoleExample example);

    int updateByPrimaryKeySelective(ClinicRole row);

    int updateByPrimaryKey(ClinicRole row);
}